package api

type RegisterReq struct {
	CountryCode string `json:"countryCode" binding:"required"`
	Password    string `json:"password" binding:"required"`
	Email       string `json:"email" binding:"required"`
	Code        string `json:"code" binding:"required"`
	Name        string `json:"name" binding:"required"`
}

type LoginReq struct {
	Email    string `json:"email" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type LoginRes struct {
	Token     string `json:"token"`
	Email     string `json:"email"`
	Account   string `json:"account"`
	Status    string `json:"status"`
	Name      string `json:"name"`
	FeeStatus string `json:"feeStatus"`
}
type ForgetPasswordReq struct {
	Code        string `json:"code" binding:"required"`
	Email       string `json:"email" binding:"required"`
	NewPassword string `json:"newPassword" binding:"required"`
}

type UpdatePasswordReq struct {
	OldPassword string `json:"oldPassword" binding:"required"`
	NewPassword string `json:"newPassword" binding:"required"`
}

type GetCountryRes struct {
	Id             int64    `json:"id"`
	NameInfo       NameInfo `json:"nameInfo"`
	CountryCode    string   `json:"countryCode"`
	IsoCountryCode string   `json:"isoCountryCode"`
	Status         string   `json:"status"`
}

type GetCompanyTypeRes struct {
	Id       int64    `json:"id"`
	NameInfo NameInfo `json:"nameInfo"`
}

type NameInfo struct {
	EnglishName string `json:"en"`
	ChineseName string `json:"zh-cn"`
}

type GetAgentInfoRes struct {
	Email     string `json:"email"`
	Account   string `json:"account"`
	Status    string `json:"status"`
	Name      string `json:"name"`
	NickName  string `json:"nickName"`
	FeeStatus string `json:"feeStatus"`
}
